﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="全文索引Lucene.aspx.cs" Inherits="Study.VHProject新功能研究.全文索引Lucene" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    &nbsp;arcId
        <asp:TextBox ID="tbArcId" runat="server"></asp:TextBox>
        <br />
        arcName<asp:TextBox ID="tbArcName" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnAddIndex" runat="server" onclick="btnAddIndex_Click" 
            Text="索引添加" />
        <br />
        <br />
        arcId<asp:TextBox ID="tbArcId2" runat="server"></asp:TextBox>
        <br />
        arcName<asp:TextBox ID="tbArcName2" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnSearch" runat="server" onclick="btnSearch_Click" Text="查询" />
        <br />
        <br />
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <th>档案Id</th>
                <th>档案名称</th>
            </tr>
            <%
                foreach (var arc in arcs)
                { 
                    %>
                    <tr>
                        <td><%=arc.arcId %></td>
                        <td><%=arc.arcName %></td>
                    </tr>
            <%
                }    
            %>
        </table>

        <br />
        arcId<asp:TextBox ID="tbArcId3" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="IndexDelete" runat="server" onclick="IndexDelete_Click" 
            Text="索引删除" />
        <br />
        <br />
        arcId<asp:TextBox ID="tbArcId4" runat="server"></asp:TextBox>
        <br />
        arcName<asp:TextBox ID="tbArcName4" runat="server"></asp:TextBox>
        <br />
        <asp:Button ID="btnUpdateIndex" runat="server" onclick="btnUpdateIndex_Click" 
            Text="索引更新" />

        <br />
        <br />
        <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
        <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="全文检索" />
        ArchiveName和50个自定义字段<br />
        耗时：<asp:Label ID="Label1" 
            runat="server" Text="0"></asp:Label>毫秒
        ，总记录：<asp:Label ID="Label2" runat="server" Text="0"></asp:Label>条
        <br />
        <br />
        <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>
        <asp:Button ID="Button2" runat="server" Text="全文检索" onclick="Button2_Click" />
    </div>
    </form>
</body>
</html>
